﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.Warehousing
{
    /// <summary>
    /// 入库表
    /// </summary>
    public class Storage:Entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int StorageId { get; set; }

        /// <summary>
        /// 入库单编码
        /// </summary>
        public string StorageNo { get; set; }

        /// <summary>
        /// 入库类型
        /// </summary>
        public string StorageType { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime StorageDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string StorageRemark { get; set; }

        /// <summary>
        /// 入库来源
        /// </summary>
        public int PurchasingTypeId { get; set; }

        /// <summary>
        /// 来源头编码
        /// </summary>
        public int PurchasinId { get; set; }

        /// <summary>
        /// 质检状态
        /// </summary>
        public bool QualityState { get; set; }

        /// <summary>
        /// 入库状态
        /// </summary>
        public bool StorageState { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string MakeSingle { get; set; }

        /// <summary>
        /// 制单部门
        /// </summary>
        public string MakeDepartment { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
